﻿using nplJobsCommon.JobSeeker;
using nplJobsDAL.Select;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace nplJobsBLL.ProcessJob
{
    public class ProcessSelectSavedJobByParam
    {
        public List<SavedJobToDisplay> SavedJobToDisplay { get; set; }
       public string JobTitle { get; set; }
       public string Location { get; set; }
       public int Deadline{ get; set; }
       public Guid JobSeekerId { get; set; }

        public void invoke()
        {
            SelectSavedJobByParam savedJobToDisplay = new SelectSavedJobByParam();
            savedJobToDisplay.JobTitle = this.JobTitle;
            savedJobToDisplay.Location = this.Location;
            savedJobToDisplay.Deadline = this.Deadline;
            savedJobToDisplay.JobSeekerId = this.JobSeekerId;
            this.SavedJobToDisplay = savedJobToDisplay.GetSavedJobToDisplay();
        }

    }
}
